package com.hjm.project.terminal.library.domain;

import com.hjm.framework.aspectj.lang.annotation.Excel;
import com.hjm.framework.web.domain.BaseEntity;

import java.util.Date;

/**
 * 终端库对象 terminal_library
 * 
 * @author LOVE
 * @date 2020-11-26
 */
public class TerminalLibrary extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 终端编号 */
//    @Excel(name = "终端编号")
    private String posno;

    /** 终端主密钥（密文） */
//    @Excel(name = "终端主密钥", readConverterExp = "密=文")
    private String tmk;

    /** 状态 0：未使用 1：已使用 */
    @Excel(name = "状态",readConverterExp = "0=未使用,1=已使用")
    private Long status;

    /** 厂商编号 */
    @Excel(name = "品牌编号")
    private Long manuNum;

    @Excel(name = "品牌名称")
    private String manuName;

    /** 添加人 */
//    @Excel(name = "添加人")
    private String createname;

    /** 终端主密钥校验值 */
//    @Excel(name = "终端主密钥校验值")
    private String checkval;

    /** 是否 绑定汇卡终端 0否 1是 */
//    @Excel(name = "是否 绑定汇卡终端 0否 1是")
    private Long bindStatus;

    /** 终端类型 0-传统Pos 1-Mpos 2-智能Pos 3-机构 4-电签POS */
   @Excel(name = "终端类型",readConverterExp = "0=传统,4=电签")
    private Long type;

    /** 机器号 */
    @Excel(name = "SN")
    private String machineNum;

    /** 机器型号 */
//    @Excel(name = "机器型号")
    private String machineModel;

    /** 0-定制机 1-自备机 */
//    @Excel(name = "0-定制机 1-自备机")
    @Excel(name = "机器来源",readConverterExp = "0=定制机,1=自备机")
    private Long source;

    /** 网络类型 2-2G 4-4G */
    @Excel(name = "网络类型",readConverterExp = "2=2G,4=4G")
    private Integer posNetwork;

    /** 终端版本：A-A版9号，B-B版5号 */
//    @Excel(name = "终端版本：A-A版9号，B-B版5号")
    private String dqType;

    /** 0无需更新，1更新程序，2进行参数下载，3主密钥下载，4ic卡参数下载 */
//    @Excel(name = "0无需更新，1更新程序，2进行参数下载，3主密钥下载，4ic卡参数下载")
    private Long updateType;

    /** 添加时间 */
//    @Excel(name = "添加时间")
    private Date createtime;


    private Integer isSync;

    private String note;

    private String pos_version;


    private String channelPosno;

    public String getPos_version() {
        return pos_version;
    }

    public void setPos_version(String pos_version) {
        this.pos_version = pos_version;
    }

    public String getChannelPosno() {
        return channelPosno;
    }

    public void setChannelPosno(String channelPosno) {
        this.channelPosno = channelPosno;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public Integer getIsSync() {
        return isSync;
    }

    public void setIsSync(Integer isSync) {
        this.isSync = isSync;
    }

    public Integer getPosNetwork() {
        return posNetwork;
    }

    public void setPosNetwork(Integer posNetwork) {
        this.posNetwork = posNetwork;
    }

    public String getManuName() {
        return manuName;
    }

    public void setManuName(String manuName) {
        this.manuName = manuName;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setPosno(String posno)
    {
        this.posno = posno;
    }

    public String getPosno()
    {
        return posno;
    }
    public void setTmk(String tmk)
    {
        this.tmk = tmk;
    }

    public String getTmk()
    {
        return tmk;
    }
    public void setStatus(Long status)
    {
        this.status = status;
    }

    public Long getStatus()
    {
        return status;
    }
    public void setManuNum(Long manuNum)
    {
        this.manuNum = manuNum;
    }

    public Long getManuNum()
    {
        return manuNum;
    }
    public void setCreatename(String createname)
    {
        this.createname = createname;
    }

    public String getCreatename()
    {
        return createname;
    }
    public void setCheckval(String checkval)
    {
        this.checkval = checkval;
    }

    public String getCheckval()
    {
        return checkval;
    }
    public void setBindStatus(Long bindStatus)
    {
        this.bindStatus = bindStatus;
    }

    public Long getBindStatus()
    {
        return bindStatus;
    }
    public void setType(Long type)
    {
        this.type = type;
    }

    public Long getType()
    {
        return type;
    }
    public void setMachineNum(String machineNum)
    {
        this.machineNum = machineNum;
    }

    public String getMachineNum()
    {
        return machineNum;
    }
    public void setMachineModel(String machineModel)
    {
        this.machineModel = machineModel;
    }

    public String getMachineModel()
    {
        return machineModel;
    }
    public void setSource(Long source)
    {
        this.source = source;
    }

    public Long getSource()
    {
        return source;
    }
    public void setDqType(String dqType)
    {
        this.dqType = dqType;
    }

    public String getDqType()
    {
        return dqType;
    }
    public void setUpdateType(Long updateType)
    {
        this.updateType = updateType;
    }

    public Long getUpdateType()
    {
        return updateType;
    }

}
